home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: thor.cf.ac.uk!news
- From: Owain <O.Huw@cs.cf.ac.uk>
- Subject: Pointer Problems
- Sender: news@cf.ac.uk (USENET News System)
- Message-ID: <3163BAEB.41C67EA6@cs.cf.ac.uk>
- Cc: scm3oh
- Date: Thu, 4 Apr 1996 12:04:59 GMT
- X-Nntp-Posting-Host: lanval.cs.cf.ac.uk
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=us-ascii
- Mime-Version: 1.0
- X-Mailer: Mozilla 2.0 (X11; I; SunOS 4.1.3_U1 sun4m)
- Organization: Prifysgol Cymru (University of Wales)
-
- I'm getting this error everytime I try to access a structure element in
- a Linked List. I'm using e.g. listpointer = listpointer -> link
- but it doesn't seem to like it! Any ideas?
-
- warning: assignment type mismatch:
- pointer to struct {int dataitem, pointer to struct listelement
- {..} link} "=" pointer to struct listelement {}
-
-
- Thanks
-
- Owain Huw
- O.Huw@cs.cf.ac.uk
-